package com.jack006.stock.mapper;

import com.jack006.my.mapper.MyMapper;
import com.jack006.pojo.StockNews;
import feign.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StockNewsMapper extends MyMapper<StockNews> {

    /**
     * 批量插入
     * @param newsList
     */
    void batchInsert(@Param("newsList") List<StockNews> newsList);
}